transform
inline fun <R> transform(successTransform: (T) -> Try<R>, failureTransform: (Throwable) -> Try<R>): Try<R>
Content copied to clipboard
Transforms a Success using successTransform or a Failure using failureTransform.
Return
New Try being a result of a transformation of a Success with successTransform or a Failure with failureTransform.